package com.atguigu.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2025-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("biz_product_info_flow")
@ApiModel(value="ProductInfoFlow对象", description="")
public class ProductInfoFlow implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "flow_id", type = IdType.AUTO)
    private Integer flowId;

    @ApiModelProperty(value = "操作人的 ID")
    private Integer operatorId;

    @ApiModelProperty(value = "操作人的姓名")
    private String operatorName;

    @ApiModelProperty(value = "操作类型（新增、修改）")
    private String operationType;

    @ApiModelProperty(value = "操作对象类型（SPU、SKU）")
    private String objectType;

    @ApiModelProperty(value = "操作对象的 ID（SPU 或 SKU 的 ID）")
    private Integer objectId;

    @ApiModelProperty(value = "操作时间")
    private LocalDateTime operationTime;

    @TableField(exist = false)
    private String desc;


}
